home *** CD-ROM | disk | FTP | other *** search
- Path: enea.se!not-for-mail
- From: olli@enea.se (Ola Liljedahl)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: A1200 serial port speeds?
- Date: 9 Jan 1996 23:49:45 +0100
- Organization: Enea OSE Systems AB
- Message-ID: <4cure9$itg@gordon.enea.se>
- NNTP-Posting-Host: gordon.enea.se
-
- "KRistian L. Madsen" wrote:
-
- > "Antti J. Roppola" <ajr@henric.nric.gov.au> wrote:
- >
- > >Now I know that a stock 1200 can't keep up with a 28.8 modem since the '020
- > >isn't fast enough, but how about a 1200 with a 50MHz '030?
- >
- > >Will a 28.8 modem run at full capacity, or would the serial port become the
- > >bottleneck instead of the CPU?
- >
- > Well, if the CPU is a bottleneck with a 28.8 modem, your CPU is
- > running :
- >
- > (28.8Kbit/s) / (32 bit) = 900 Hz or 0,0009 MHz
- >
- > My CPU is running 14,7 MHz (or something like it) and can move :
- >
- > 14,7 * 1.000.000 MOVE-instructions/s * 32bit = 470.400.000 Bit/s or
- > 470.400Kbit/s !!!!!
- >
- > The above calculations don't consider bus-speed and memory speed.
- >
- > When you're taking I/O the CPU is never the bottleneck, when you're
- > talking communication the CPU is NEVER NEVER NEVER the bottleneck!!!!
- >
-
- What crap!
-
- With (a 28800 baud modem and) a 28800 baud connection between the modem
- and the computer you could have up to ~3000 characters/s arriving to
- the computer (disregarding any compression/decompression the modem might
- perform). The standard Amiga serial port buffers only one character which
- means you get only one character per interrupt. 3000 characters/s means
- 3000 interrupts/s => 333 us (microseconds) per interrupt. This has two
- implications;
- 1: the CPU must serve each serial port interrupt within 333 us or the
- received character is lost (overrun by the next character).
- 2: with 3000 interrupts/s the CPU left over to other tasks is dramatically
- reduced. There is a certain overhead associated with each interrupt.
-
- Anybody knows the interrupt latency of the Amiga (different CPUs/OS
- versions)? And the interrupt overhead for different types of interrupt?
-
- My A3000/68030/25 MHz/OS 3.1/serial.port 37.6 happily receives ~4500
- characters/s using 38400 baud from computer to modem (decompression
- in the modem expands the 26400 bauds entering the modem into 38400 baud
- leaving it if it is possible to (compress/)decompress the data, such as
- text/html-files. Already compressed files are usually not possible to
- compress further.)
-
- Ola Liljedahl
- working with OSE Real Time Operating Systems
- "OSE - Design on a higher level"
-